package com.distribution.system.enums;

/**
 * @author destinyhlp
 * @date 2023/6/3 00:37
 */

public enum OrderStatusEnum {
    FAIL("0", "失败"),
    UN_ORDER_SUCCESS("1", "下单成功"),
    IN_PROGRESS("2", "进行中"),
    SUCCESS("3", "已成功");
    private final String orderStatus;
    private final String orderStatusDesc;

    OrderStatusEnum(String orderStatus, String orderStatusDesc) {
        this.orderStatus = orderStatus;
        this.orderStatusDesc = orderStatusDesc;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public String getOrderStatusDesc() {
        return orderStatusDesc;
    }
}